package com.familyigo.gdemo;

import lombok.Data;

@Data
public class User {
    private long id;
    private String name;
    private Integer age;
    private String status;

    public boolean getNameNotEmpty() {
        return name != null && !name.isEmpty();
    }

    public boolean getAgeGtZero() {
        return age != null && age > 0;
    }
}